package com.young.core.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * @description：
 * @author: yangyahui01
 * @date: 11/27/24 6:00 PM
 */
public class NodeRegistryDO implements Serializable {

    private int id;

    private String project;

    private String profile = "default";

    private String cloud = "default";

    private String group;

    private String host;

    private String ip;

    private Integer port = 80;

    /** 所有jobkey,jobkey之间以逗号分隔 */
    private String jobs;

    private Integer communicationType;

    private Date createTime;

    private Date updateTime;

    private int clientMainVersion = 2;

    public int getClientMainVersion() {
        return clientMainVersion;
    }

    public void setClientMainVersion(int clientMainVersion) {
        this.clientMainVersion = clientMainVersion;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getProject() {
        return project;
    }

    public void setProject(String project) {
        this.project = project;
    }

    public String getProfile() {
        return profile;
    }

    public void setProfile(String profile) {
        this.profile = profile;
    }

    public String getCloud() {
        return cloud;
    }

    public void setCloud(String cloud) {
        this.cloud = cloud;
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public void setJobs(String jobs) {
        this.jobs = jobs;
    }

    public String getJobs() {
        return jobs;
    }

    public Integer getCommunicationType() {
        return communicationType;
    }

    public void setCommunicationType(Integer communicationType) {
        this.communicationType = communicationType;
    }

}
